package com.qdxwx.payment.wxpay.httpclient.auth;

import java.security.cert.X509Certificate;

/**
 * @author xy-peng
 */
public interface Verifier {

    boolean verify(String serialNumber, byte[] message, String signature);

    /**
     * @return 合法证书
     */
    X509Certificate getLatestCertificate();

}
